<template>
   <div>
      <p>去注册</p>
      <van-nav-bar class="register" title="快速注册" @click="register">
         <template #right>
            <van-icon name="arrow" size="18" />
         </template>
      </van-nav-bar>
   </div>
</template>
<script lang='ts' setup>
// import { showToast } from 'vant';
import router from '@/router';
function register() {
   router.push('/register');
}

</script>
<style scoped>
.register {
   padding: 0 10px;
   margin: 0 15px;
   border-radius: 5px;
}

p {
   font-size: 16px;
   margin: 10px 15px;
}
</style>